package engine.individuals.util;

import engine.ObjectiveFunction;

public class DecreasingIndividualsComparator<T> extends IndividualsComparator<T> {

	public DecreasingIndividualsComparator(ObjectiveFunction<T> objFunction) {
		super(objFunction);
	}

	@Override
	public int compare(T o1, T o2) {
		return -super.compare(o1, o2);
	}
}
